<template>
  <div class="home">
    <SideBar/>
    <!-- <IODateList/> -->
    <!-- <AllDateList/> -->
    <!-- <button @click="greet()">按钮</button> -->
  
    <RouterView/>
    <br>
    <footer>
      <div class="container text-center py-3">
        <small style="">Designed by <strong>网络新技术实验室</strong></small>
      </div>
    </footer><!--//app-footer-->
  </div>
</template>

<script>
// @ is an alias to /src
import SideBar from '@/components/SideBar.vue'
// import AllDateList from '@/views/DateList/AllDate.vue'
// import IODateList from './DateList/IODateList.vue'
import {three} from '@/api/test'
export default {
  name: 'HomeView',
  components: {
    SideBar,
    // AllDateList,
    // IODateList
  },
  data() {
  return {
    name: 'Vue.js'
  }
},
methods: {
  greet() {
   three("46test10").then(res=>{
       alert(res.data)
   })
   .catch(()=>{alert("错误")}
       
   )

   
  }
}
}
</script>
